package grape.wx.rest.mp.basic.mapper;

import grape.common.rest.mvc.BaseWebMapper;
import grape.wx.rest.mp.basic.form.WxMpMaterialForm;
import me.chanjar.weixin.mp.bean.material.WxMpMaterial;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/7/22 12:41
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MpMaterialWebMapper extends BaseWebMapper {

    WxMpMaterial map(WxMpMaterialForm form);
}
